package com.neuedu.proapi.service.impl;

import com.neuedu.proapi.mapper.ToptenUniversitiesMajorsMapper;
import com.neuedu.proapi.pojo.ToptenUniversitiesMajors;
import com.neuedu.proapi.service.ToptenUniversitiesMajorsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ToptenUniversitiesMajorsServiceImpl implements ToptenUniversitiesMajorsService {
    @Autowired
    private ToptenUniversitiesMajorsMapper toptenUniversitiesMajorsMapper;
    @Override
    public List<ToptenUniversitiesMajors> queryAllToptenUniversitiesMajors() {
        return toptenUniversitiesMajorsMapper.queryAllToptenUniversitiesMajors();
    }
}
